<include file="Public:header" />

<div id="page-body">
    <div id="qan-breadcrumbs"><span><a href="{$_global.site_url}">{$Think.lang.home}</a></span>&gt;&nbsp;<span>{$Think.lang.login}</span></div>
    <div id="qan-content">
        <p>{$Think.lang.login_tips_1}</p>
        <ul class="external-login">
            <eq name="_global.google_account_enable" value="1"><li class="openid-btn"><a href="__APP__/Extend/Auth/openid.php?p=google"><img src="__PUBLIC__/Images/Openid/google.gif" /></a></li></eq>
            <eq name="_global.yahoo_account_enable" value="1"><li class="openid-btn"><a href="__APP__/Extend/Auth/openid.php?p=yahoo"><img src="__PUBLIC__/Images/Openid/yahoo.gif" /></a></li></eq>
            <eq name="_global.facebook_account_enable" value="1"><li class="openid-btn"><a href="__APP__/Extend/Auth/facebook.php"><img src="__PUBLIC__/Images/Openid/facebook.gif" /></a></li></eq>
            <eq name="_global.twitter_account_enable" value="1"><li class="openid-btn"><a href="__APP__/Extend/Auth/twitter.php"><img src="__PUBLIC__/Images/Openid/twitter.gif" /></a></li></eq>
        </ul>
        <p>Or, you can manually enter your OpenID</p>
        <form class="login" method="post" action="{:U('Account/openidUrl')}">
            <input type="text" class="openid-identifier text-field" name="openid_url" />&nbsp;
            <input type="submit" class="button" value="{$Think.lang.login}" />
        </form>
        <p>Or, your can enter your local account and password</p>
        <form class="login" method="post" action="{:U('Account/localAuth')}">
            <table class="tb">
                <tr>
                    <td align="right">{$Think.lang.login_account}:</td>
                    <td><input class="text-field" type="text" name="account" size="30" value="{$Think.lang.login_tips_4}" title="{$Think.lang.login_tips_4}" onclick="this.value='';" /></td>
                </tr>
                <tr>
                    <td align="right">{$Think.lang.login_password}:</td>
                    <td><input class="text-field" type="password" name="password" size="30" value="" /></td>
                </tr>
                <eq name="captcha" value="1">
                <tr>
                    <td align="right"><label for="verify">{$Think.lang.captcha}:</label></td>
                    <td><div class="captcha-container"><input id="verify" class="text-field" type="text" name="verify" size="5" />&nbsp;<img class="captcha" src="{:U('Ajax/captcha')}" title="{$Think.lang.captcha_again}" onclick="reCaptcha(this);" /></div></td>
                </tr>
                </eq>
                <tr>
                    <td><input type="submit" class="button" value="{$Think.lang.login}" /></td>
                    <td><a href="{:U('Account/register')}">{$Think.lang.login_create_account}</a>&nbsp;&nbsp;<a href="{:U('Account/forgetPassword')}">{$Think.lang.login_forget_pwd}</a></td>
                </tr>
            </table>
        </form>
    </div>
    <div id="qan-sidebar">
        <div id="openid-tips" class="mod">
            <h2>{$Think.lang.login_why_openid}</h2>
            <ul>
                {$Think.lang.login_openid_tips}
            </ul>
            <p class="ft">{$Think.lang.login_learn_more}</p>
        </div>
    </div>
</div>

<include file="Public:footer" />
